@extends('mobile.layout1')
@section('title','收益')

@section('aside-bar')

@endsection


@section('content')
<body>
<div class="view-container">
    <div class="view-inner">
        <div class="earning-total">
            <div class="earning-total-title">总收益</div>
            <ul>
                <li>历史总收益合计：<span>{{$user->distribution_money+$user->team_money}}</span></li>
                <li>推广收益合计：<span>{{$user->distribution_money}}</span></li>
                <li>团队奖励合计:<span>{{$user->team_money}}</span></li>
            </ul>
        </div>
        <div class="earning-total">
            <div class="earning-total-title">未结算收益</div>
            <ul>
                <li>总收益合计：<span>{{$distributionMoney+$teamMoney}}</span></li>
                <li>推广收益合计:<span>{{$distributionMoney}}</span></li>
                <li>团队奖励合计：<span>{{$teamMoney}}</span></li>
            </ul>
        </div>
    </div>
</div>
</body>
</html>
    @endsection